#ifndef __INFOVIEW_H
#define __INFOVIEW_H

#include <QLabel>

class QPaintEvent;

class InfoView: public QWidget{
	Q_OBJECT
public:
	InfoView(QWidget* parent = 0);
 protected:
	void paintEvent(QPaintEvent* event);
public slots:
  void drawHist(int* red, int* green, int* blue);
 private:
  int m_red[256],m_green[256],m_blue[256];
};

#endif
